package com.qyl.honghengshop.service.impl;

import com.qyl.honghengshop.dao.UserDao;
import com.qyl.honghengshop.dao.impl.UserDaoImpl;
import com.qyl.honghengshop.dto.User;
import com.qyl.honghengshop.service.UserService;


/**
 * userService
 * @author Administrator
 *
 */
public class UserServiceImpl implements UserService {

	private UserDao userDao = new UserDaoImpl();
	
	@Override
	public User getUserByUserIdAndPwd(String userId, String pwd) {

		//调用dao获得user对象		
		User user = userDao.getUserByUserIdAndPwd(userId,pwd);
		
		return user;
	}

}
